inherited frZAMENA_SCH: TfrZAMENA_SCH
  Caption = #1040#1073#1086#1085#1077#1085#1090#1099', '#1091' '#1082#1086#1090#1086#1088#1099#1093' '#1079#1072#1084#1077#1085#1080#1083#1080' '#1089#1095#1077#1090#1095#1080#1082
  ClientHeight = 560
  ClientWidth = 819
  Position = poMainFormCenter
  OnShow = FormShow
  ExplicitTop = -68
  ExplicitWidth = 827
  ExplicitHeight = 594
  PixelsPerInch = 96
  TextHeight = 13
  inherited pTable: TPanel
    Width = 819
    Height = 328
    ExplicitWidth = 819
    ExplicitHeight = 296
    inherited gbTable: TcxGroupBox
      ExplicitWidth = 811
      ExplicitHeight = 303
      Height = 320
      Width = 811
      object sgZAMENA_SCH: TcxGrid
        Left = 2
        Top = 18
        Width = 807
        Height = 300
        Align = alClient
        TabOrder = 0
        LookAndFeel.Kind = lfFlat
        ExplicitHeight = 283
        object cxGridDBTableView1: TcxGridDBTableView
          OnDblClick = cxGridDBTableView1DblClick
          NavigatorButtons.ConfirmDelete = False
          DataController.DataSource = dsZAMENA_SCH
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsBehavior.IncSearch = True
          OptionsData.Deleting = False
          OptionsData.DeletingConfirmation = False
          OptionsData.Editing = False
          OptionsData.Inserting = False
          OptionsSelection.InvertSelect = False
          OptionsView.CellEndEllipsis = True
          OptionsView.GroupByBox = False
          OptionsView.Indicator = True
          object NOM_ABON: TcxGridDBColumn
            Caption = #1051#1080#1094#1077#1074#1086#1081
            DataBinding.FieldName = 'NOM_ABON'
          end
          object FIO: TcxGridDBColumn
            Caption = #1060#1048#1054
            DataBinding.FieldName = 'FIO'
          end
          object DAT_ZAM: TcxGridDBColumn
            Caption = #1044#1072#1090#1072' '#1079#1072#1084#1077#1085#1099
            DataBinding.FieldName = 'DAT_ZAM'
            Width = 90
          end
          object DAT_WOD: TcxGridDBColumn
            Caption = #1044#1072#1090#1072' '#1074#1074#1086#1076#1072
            DataBinding.FieldName = 'DAT_WOD'
            Width = 96
          end
          object KOD_OP: TcxGridDBColumn
            Caption = #1050#1086#1076' '#1086#1087#1077#1088#1072#1090#1086#1088#1072
            DataBinding.FieldName = 'KOD_OP'
            Width = 245
          end
        end
        object cxGridLevel1: TcxGridLevel
          GridView = cxGridDBTableView1
        end
      end
    end
  end
  inherited pEdit: TPanel
    Top = 328
    Width = 819
    Height = 194
    ExplicitTop = 328
    ExplicitWidth = 819
    ExplicitHeight = 194
    inherited gbEdit: TcxGroupBox
      ExplicitWidth = 811
      ExplicitHeight = 218
      Height = 186
      Width = 811
      object lab1: TLabel
        Left = 13
        Top = 18
        Width = 75
        Height = 14
        Caption = #1044#1072#1090#1072' '#1079#1072#1084#1077#1085#1099':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object labDAT_ZAM: TDBText
        Left = 93
        Top = 19
        Width = 92
        Height = 17
        DataField = 'DAT_ZAM'
        DataSource = dsZAMENA_SCH
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object lab2: TLabel
        Left = 191
        Top = 18
        Width = 146
        Height = 14
        Caption = #1050#1077#1084' '#1087#1088#1086#1080#1079#1074#1077#1076#1077#1085#1072' '#1079#1072#1084#1077#1085#1072':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object labKEM_ZAM: TDBText
        Left = 343
        Top = 18
        Width = 218
        Height = 17
        DataField = 'FIO_SOTR'
        DataSource = dsZAMENA_SCH
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object lab3: TLabel
        Left = 12
        Top = 41
        Width = 66
        Height = 14
        Caption = #1044#1072#1090#1072' '#1074#1074#1086#1076#1072':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object labDAT_WOD: TDBText
        Left = 93
        Top = 42
        Width = 92
        Height = 17
        DataField = 'DAT_WOD'
        DataSource = dsZAMENA_SCH
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object lab4: TLabel
        Left = 191
        Top = 41
        Width = 89
        Height = 14
        Caption = #1050#1086#1076' '#1086#1087#1077#1088#1072#1090#1086#1088#1072':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object labKOD_OP: TDBText
        Left = 292
        Top = 41
        Width = 218
        Height = 17
        DataField = 'KOD_OP'
        DataSource = dsZAMENA_SCH
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object gbNEW_SCH: TcxGroupBox
        Left = 407
        Top = 64
        Caption = #1044#1072#1085#1085#1099#1077' '#1085#1086#1074#1086#1075#1086' '#1089#1095#1077#1090#1095#1080#1082#1072
        TabOrder = 0
        Height = 117
        Width = 400
        object Label1: TLabel
          Left = 10
          Top = 19
          Width = 38
          Height = 14
          Caption = #1052#1072#1088#1082#1072':'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Tahoma'
          Font.Style = []
          ParentFont = False
        end
        object labMARKA_NEW: TDBText
          Left = 103
          Top = 19
          Width = 113
          Height = 17
          DataField = 'MARKA_NEW'
          DataSource = dsZAMENA_SCH
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clNavy
          Font.Height = -12
          Font.Name = 'Tahoma'
          Font.Style = [fsUnderline]
          ParentFont = False
        end
        object Label2: TLabel
          Left = 202
          Top = 19
          Width = 47
          Height = 14
          Caption = #1052#1086#1076#1077#1083#1100':'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Tahoma'
          Font.Style = []
          ParentFont = False
        end
        object Label3: TLabel
          Left = 10
          Top = 45
          Width = 66
          Height = 14
          Caption = #1047#1072#1074'. '#1085#1086#1084#1077#1088':'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Tahoma'
          Font.Style = []
          ParentFont = False
        end
        object labMODEL_NEW: TDBText
          Left = 295
          Top = 19
          Width = 113
          Height = 17
          DataField = 'MODEL_NEW'
          DataSource = dsZAMENA_SCH
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clNavy
          Font.Height = -12
          Font.Name = 'Tahoma'
          Font.Style = [fsUnderline]
          ParentFont = False
        end
        object labZAW_NOM: TDBText
          Left = 103
          Top = 45
          Width = 113
          Height = 17
          DataField = 'NOM_ZAV_NEW'
          DataSource = dsZAMENA_SCH
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clNavy
          Font.Height = -12
          Font.Name = 'Tahoma'
          Font.Style = [fsUnderline]
          ParentFont = False
        end
        object Label4: TLabel
          Left = 202
          Top = 45
          Width = 75
          Height = 14
          Caption = #1056#1072#1079#1088#1103#1076#1085#1086#1089#1090#1100':'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Tahoma'
          Font.Style = []
          ParentFont = False
        end
        object labRAZR: TDBText
          Left = 295
          Top = 45
          Width = 113
          Height = 17
          DataField = 'RAZRJD_NEW'
          DataSource = dsZAMENA_SCH
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clNavy
          Font.Height = -12
          Font.Name = 'Tahoma'
          Font.Style = [fsUnderline]
          ParentFont = False
        end
        object Label5: TLabel
          Left = 10
          Top = 70
          Width = 60
          Height = 14
          Caption = #1044#1072#1090#1072'. '#1091#1089#1090'.:'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Tahoma'
          Font.Style = []
          ParentFont = False
        end
        object labDATA_UST: TDBText
          Left = 103
          Top = 70
          Width = 113
          Height = 17
          DataField = 'DAT_UST'
          DataSource = dsZAMENA_SCH
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clNavy
          Font.Height = -12
          Font.Name = 'Tahoma'
          Font.Style = [fsUnderline]
          ParentFont = False
        end
        object Label7: TLabel
          Left = 9
          Top = 95
          Width = 80
          Height = 14
          Caption = #1055#1086#1082'. '#1087#1088#1080' '#1091#1089#1090'.:'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -12
          Font.Name = 'Tahoma'
          Font.Style = []
          ParentFont = False
        end
        object labPOK_UST: TDBText
          Left = 103
          Top = 94
          Width = 87
          Height = 17
          DataField = 'POK_UST'
          DataSource = dsZAMENA_SCH
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clNavy
          Font.Height = -12
          Font.Name = 'Tahoma'
          Font.Style = [fsUnderline]
          ParentFont = False
        end
      end
    end
    object gbOLD_SCH: TcxGroupBox
      Left = 5
      Top = 66
      Caption = #1044#1072#1085#1085#1099#1077' '#1089#1090#1072#1088#1086#1075#1086' '#1089#1095#1077#1090#1095#1080#1082#1072
      TabOrder = 1
      Height = 119
      Width = 400
      object Label11: TLabel
        Left = 11
        Top = 19
        Width = 38
        Height = 14
        Caption = #1052#1072#1088#1082#1072':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Label12: TLabel
        Left = 214
        Top = 19
        Width = 47
        Height = 14
        Caption = #1052#1086#1076#1077#1083#1100':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Label13: TLabel
        Left = 11
        Top = 45
        Width = 66
        Height = 14
        Caption = #1047#1072#1074'. '#1085#1086#1084#1077#1088':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Label14: TLabel
        Left = 11
        Top = 72
        Width = 75
        Height = 14
        Caption = #1056#1072#1079#1088#1103#1076#1085#1086#1089#1090#1100':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object labRAZRJD_OLD: TDBText
        Left = 92
        Top = 72
        Width = 113
        Height = 17
        DataField = 'RAZRJD_OLD'
        DataSource = dsZAMENA_SCH
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = [fsUnderline]
        ParentFont = False
      end
      object labZAW_NOM_OLD: TDBText
        Left = 96
        Top = 45
        Width = 113
        Height = 17
        DataField = 'NOM_ZAV_OLD'
        DataSource = dsZAMENA_SCH
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = [fsUnderline]
        ParentFont = False
      end
      object labMODEL_OLD: TDBText
        Left = 291
        Top = 19
        Width = 113
        Height = 17
        DataField = 'MODEL_OLD'
        DataSource = dsZAMENA_SCH
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = [fsUnderline]
        ParentFont = False
      end
      object labMARKA_OLD: TDBText
        Left = 96
        Top = 19
        Width = 113
        Height = 17
        DataField = 'MARKA_OLD'
        DataSource = dsZAMENA_SCH
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = [fsUnderline]
        ParentFont = False
      end
      object Label17: TLabel
        Left = 215
        Top = 45
        Width = 88
        Height = 14
        Caption = #1055#1086#1082'. '#1087#1088#1080' '#1089#1085#1103#1090'.:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object labPOK_SNJT: TDBText
        Left = 309
        Top = 43
        Width = 81
        Height = 17
        DataField = 'POK_SNJT'
        DataSource = dsZAMENA_SCH
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = [fsUnderline]
        ParentFont = False
      end
    end
  end
  inherited pUPR: TPanel
    Top = 522
    Width = 819
    Height = 38
    ExplicitTop = 514
    ExplicitWidth = 819
    ExplicitHeight = 38
    object btDelete: TcxButton
      Left = 117
      Top = 6
      Width = 105
      Height = 25
      Action = Delete
      TabOrder = 0
      Glyph.Data = {
        36030000424D3603000000000000360000002800000010000000100000000100
        1800000000000003000000000000000000000000000000000000E3DFE0E3DFE0
        E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DF
        E0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3
        DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00732DE0732DEE3DFE00732DE
        0732DEE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DF
        E00732DE0732DEE3DFE0E3DFE00732DE0732DE0732DEE3DFE0E3DFE0E3DFE0E3
        DFE0E3DFE0E3DFE0E3DFE0E3DFE00732DE0732DEE3DFE0E3DFE0E3DFE00732DE
        0732DD0732DE0732DEE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00732DE0732
        DEE3DFE0E3DFE0E3DFE0E3DFE0E3DFE00534ED0732DF0732DE0732DEE3DFE0E3
        DFE0E3DFE0E3DFE00732DE0732DEE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0
        E3DFE0E3DFE00732DE0732DE0732DDE3DFE00732DD0732DE0732DEE3DFE0E3DF
        E0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00732DD0633E606
        33E60633E90732DCE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0
        E3DFE0E3DFE0E3DFE0E3DFE00633E30732E30534EFE3DFE0E3DFE0E3DFE0E3DF
        E0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00732DD0534ED05
        33E90434EF0434F5E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0
        E3DFE0E3DFE00434F40534EF0533EBE3DFE0E3DFE00434F40335F8E3DFE0E3DF
        E0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00335FC0534EF0434F8E3DFE0E3
        DFE0E3DFE0E3DFE00335FC0335FBE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0
        0335FB0335FB0335FCE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00335FB0335
        FBE3DFE0E3DFE0E3DFE0E3DFE00335FB0335FB0335FBE3DFE0E3DFE0E3DFE0E3
        DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00335FBE3DFE0E3DFE00335FB0335FB
        0335FBE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DF
        E0E3DFE0E3DFE0E3DFE00335FB0335FBE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3
        DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0}
    end
    object btPoisk: TcxButton
      Left = 6
      Top = 6
      Width = 105
      Height = 25
      Action = POISK
      TabOrder = 1
      Glyph.Data = {
        0E060000424D0E06000000000000360000002800000016000000160000000100
        180000000000D8050000C40E0000C40E00000000000000000000FFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFEFDFDFCF7F7F7EDEEEEEFF0F0F8F8F9FEFEFEFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFDFDFCE8EDF1B3CFE39EBFD7C1C6CAE1E2E3F6F6F6
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3F4F4A9C8DE59A3DA4392CE729BBABEC2
        C5E5E6E6FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6F7F7AAC3D74994CC4F9FDA388CCC37
        88C47EA0BCD5D8DBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFEFEF5F6F6A9BFD22772B03B8CCA4D9DD9
        3D91CF358AC96C99BCD9DCDEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFEFEFCFCF8
        FAFAF8FCFAF1F9F9F9FCFBF8FCFCFBFDFDFCF0F1F1A3BBD0387FB92F80C02B78
        B72C75B13A8AC73587C594BDD9F1F3F3FFFFFFFFFFFFFFFFFEFDF8FAFAF9EAEB
        ECE1E4E4DDDFE0D9D9D4DADCDDDBDCDCE4E6E7DEE3E791B1CC3C83BB2F80BF21
        68A511518C0D4B867696B1C0D7E9E9F2F7FEFEFDFFFFFFFFFFFDFCFBEAEBECC0
        C3C69390816164673B434C313B463D444C6E747A99A1A98AA7BF3483C12E7EBE
        1F65A2124E862E669AA1B8CCF1F2F4FEFEFEFFFFFFFFFFFFFFFFFCFBFAD7D6D3
        7F848A29313A131416171A1E15171B131416131416131416232E392B7AB92874
        B21F64A11857916E8EABD7DADEFCFCFCFFFFFFFFFFFFFFFFFFFFFFFFFFFFDBDC
        DB656769242A3035383B4C4F53626460726F61807960615D492A281F1A1F251C
        456814559136608784A1BBECEDEEFEFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFF868E95303234676F779C9A86CBC29EE4DEC2EDEAD7F4F1E4E8E3D0D1C9AC
        978D65171C2330445883867CC9C9C7F4F4F5FFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFF3D464F878A8BBCB69EF0E0ACFAF0CEFDF8E5FEFBF1FDFDF9FDF9
        EAFCF5DBFAF0CBC0B68D3C4344595F67C1C2C3F2F2F2FFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFF73777BB8B5A4E3D190F7E6ADFAEFCBFBF4D9FDFBF0FD
        FCF6FDF9EAFAF1D1F8EBBFF3E2A39D8D54585854BFBFC0F0F0F0FFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFF9BA2A9B5B093EBD481F6E29FF8EBBCF9EFCB
        FCF6DEFDF8E4FCF5DDF9EFCBF7E8B4F6E29ABFAB644C4E44B8BABBF2F2F3FEFE
        FEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA6ABB39F997CEAD27DF8E08AF7E7
        AEF8EABBF9EEC8F9EFC9F9EEC7F8EAB9F5E2A0F7DF87BBA76242463FBDC1C4F7
        F7F7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBFC0C173767BB8AB79F5
        DC84F5E094F5E2A0F7E6ADF6E5A9F6E5A8F5E29CF5E093E3CC7772673F4D5053
        DADADAFEFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE1E1E2808183
        616155AF9E5FF7DF87F6DF8EF7E296F6DF8FF6DF8EF7DF89EBD37C8F80494948
        3FA2A6ABF3F3F3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCFC
        FCD2D2D26A6D7136352A727054AC9C5ED7C272DCC574AA9D6B8F84575B54364C
        5250A9ADB2EFF0F2FEFEFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFDFDFDF3F3F38E91963D536837556F475157355E7F3D556B3F5970
        878F98E2E3E4FBFBFBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFEFEE8EAECCCD0D5CCD0D5CCD0D5D8DB
        DEF2F2F2FCFCFDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
    end
  end
  object ActionList1: TActionList
    Left = 557
    Top = 138
    object POISK: TAction
      Caption = #1055#1086#1080#1089#1082'(F2)'
      ShortCut = 113
      OnExecute = POISKExecute
    end
    object Delete: TAction
      Caption = #1059#1076#1072#1083#1077#1085#1080#1077'(F4)'
      ShortCut = 115
      OnExecute = DeleteExecute
    end
    object actESC: TAction
      Caption = #1054#1090#1084#1077#1085#1072
      ShortCut = 27
      OnExecute = actESCExecute
    end
  end
  object dsetZAMENA_SCH: TIBCQuery
    SQLInsert.Strings = (
      'INSERT INTO F_ZAMEN'
      
        '  (NOM_ABON, KOD_SHT_OLD, NOM_ZAV_OLD, POK_SNJT, KOD_SHT_NEW, NO' +
        'M_ZAV_NEW, POK_UST, DAT_ZAM, DAT_UST, KOD_OP, DAT_WOD, PRITH_ZAM' +
        'EN, SOTR)'
      'VALUES'
      
        '  (:NOM_ABON, :KOD_SHT_OLD, :NOM_ZAV_OLD, :POK_SNJT, :KOD_SHT_NE' +
        'W, :NOM_ZAV_NEW, :POK_UST, :DAT_ZAM, :DAT_UST, :KOD_OP, :DAT_WOD' +
        ', :PRITH_ZAMEN, :SOTR)')
    SQLDelete.Strings = (
      'DELETE FROM F_ZAMEN'
      'WHERE'
      '  NOM_ABON = :Old_NOM_ABON AND DAT_ZAM = :Old_DAT_ZAM')
    SQLUpdate.Strings = (
      'UPDATE F_ZAMEN'
      'SET'
      
        '  NOM_ABON = :NOM_ABON, KOD_SHT_OLD = :KOD_SHT_OLD, NOM_ZAV_OLD ' +
        '= :NOM_ZAV_OLD, POK_SNJT = :POK_SNJT, KOD_SHT_NEW = :KOD_SHT_NEW' +
        ', NOM_ZAV_NEW = :NOM_ZAV_NEW, POK_UST = :POK_UST, DAT_ZAM = :DAT' +
        '_ZAM, DAT_UST = :DAT_UST, KOD_OP = :KOD_OP, DAT_WOD = :DAT_WOD, ' +
        'PRITH_ZAMEN = :PRITH_ZAMEN, SOTR = :SOTR'
      'WHERE'
      '  NOM_ABON = :Old_NOM_ABON AND DAT_ZAM = :Old_DAT_ZAM')
    SQLRefresh.Strings = (
      
        'SELECT NOM_ABON, KOD_SHT_OLD, NOM_ZAV_OLD, POK_SNJT, KOD_SHT_NEW' +
        ', NOM_ZAV_NEW, POK_UST, DAT_ZAM, DAT_UST, KOD_OP, DAT_WOD, PRITH' +
        '_ZAMEN, SOTR FROM F_ZAMEN'
      'WHERE'
      '  NOM_ABON = :NOM_ABON AND DAT_ZAM = :DAT_ZAM')
    SQLLock.Strings = (
      'SELECT NULL FROM F_ZAMEN'
      'WHERE'
      'NOM_ABON = :Old_NOM_ABON AND DAT_ZAM = :Old_DAT_ZAM'
      'FOR UPDATE WITH LOCK')
    Connection = dmOne.IBDBOne
    SQL.Strings = (
      'select z.*,sa.fio,'
      
        '(select k.naim_kod from klsfct k where k.kod=37 and k.kod_hc=z.p' +
        'rith_zamen) as NAIM_PRITH_Z,'
      '(select s.fio from spr_sotr s where s.kod=z.sotr) as FIO_SOTR,'
      
        '(select sp.marka from sp_schet sp where sp.kod_sht=z.kod_sht_old' +
        ') as MARKA_OLD,'
      
        '(select sp.model from sp_schet sp where sp.kod_sht=z.kod_sht_old' +
        ') as MODEL_OLD,'
      
        '(select sp.razrjd from sp_schet sp where sp.kod_sht=z.kod_sht_ol' +
        'd) as RAZRJD_OLD,'
      
        '(select sp.marka from sp_schet sp where sp.kod_sht=z.kod_sht_new' +
        ') as MARKA_NEW,'
      
        '(select sp.model from sp_schet sp where sp.kod_sht=z.kod_sht_new' +
        ') as MODEL_NEW,'
      
        '(select sp.razrjd from sp_schet sp where sp.kod_sht=z.kod_sht_ne' +
        'w) as RAZRJD_NEW'
      'from f_zamen z,spr_abon sa'
      'where z.nom_abon=sa.nom_abon &SQL')
    Left = 736
    Top = 20
    MacroData = <
      item
        Name = 'SQL'
      end>
  end
  object dsZAMENA_SCH: TIBCDataSource
    DataSet = dsetZAMENA_SCH
    Left = 767
    Top = 21
  end
end
